package nb.diskfilesystem;

public class FAT_tableEntry {
    private int blockNumber; // 块号
    private int status; // 状态（-1 或 下一盘块号）
    private String fileType; // 文件类型（文件或文件夹）
    private String fileName; // 文件名字

    public FAT_tableEntry(int blockNumber, int status, String fileType, String fileName) {
        this.blockNumber = blockNumber;
        this.status = status;
        this.fileType = fileType;
        this.fileName = fileName;
    }

    public int getBlockNumber() {
        return blockNumber;
    }

    public void setBlockNumber(int blockNumber) {
        this.blockNumber = blockNumber;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }
}